﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MyMvcStoreApplication.Repositories
{
    public interface IGenericRepository<E>
    {
        List<E> GetAll();
        
        E Get(int id);
        
        void SaveNew(E entidad);

        void Delete(int id);

        void SaveModify(E entidad);
    }
}